﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<Style x:Key="HeartButton" TargetType="Button">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualState x:Name="Disabled"/>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver"/>
								<VisualState x:Name="Pressed">
									<Storyboard>
										<DoubleAnimation Duration="0" To="15" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="path" d:IsOptimized="True"/>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<Path x:Name="path" Data="M220.94876,755.00946 C184.84747,740.67517 152.15533,724.9552 120.42505,701.15747 C93.179695,680.72351 100.67931,661.02557 100.67931,620.37952 C100.67931,590.92932 89.585564,566.52753 143.76091,566.52753 C187.29527,566.52753 207.31113,562.61249 215.56357,620.37952 C228.00133,583.06622 234.51501,569.54803 292.75143,573.70776 C309.35239,574.89355 376.53848,594.85944 326.8577,638.3302 C288.04355,672.29254 257.71097,719.1123 220.94876,755.00946 z" Fill="{StaticResource ColorRainBow2}" Stretch="Fill" UseLayoutRounding="False" RenderTransformOrigin="0.5,0.5">
							<Path.RenderTransform>
								<CompositeTransform/>
							</Path.RenderTransform>
						</Path>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!-- Resource dictionary entries should be defined here. -->
</ResourceDictionary>